package com.four.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author gs
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mark_attribute")
public class Attribute extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 商品属性id
     */
    @TableId(value = "att_id", type = IdType.AUTO)
    private Integer attId;

    /**
     * 颜色
     */
    private String attColor;

    /**
     * 内存
     */
    private String attMemory;

    /**
     * 秒杀价
     */
    private BigDecimal attShajia;

    /**
     * 成本价
     */
    private BigDecimal attCostprice;

    /**
     * 原价
     */
    private BigDecimal attOriginalprice;

    /**
     * 库存
     */
    private Integer attRepertory;

    /**
     * 限量
     */
    private Integer attLimited;

    /**
     * 图片
     */
    private String allImg;

    /**
     * 重量
     */
    private String attWeight;

    /**
     * 体积
     */
    private Integer attVolume;

    /**
     * 商品编号
     */
    private Integer manId;


}
